var gulp = require('gulp'),
    concat = require('gulp-concat'),
    uglify = require('gulp-uglify');


gulp.task('food_concat',function(){

    //业务逻辑打包
    gulp.src(['./src/*.js','./src/*/*.js','./src/*/*/*.js'])
    .pipe(concat('bundle.js'))
    .pipe(uglify())
    .pipe(gulp.dest('./Assets/build'));

    //库文件打包
    gulp.src('./Assets/*/*.js')
    .pipe(concat('verdon.js'))
    .pipe(uglify())
    .pipe(gulp.dest('./Assets/build'));

});